package com.trabpoo.megamanxrunner;

import javax.swing.ImageIcon;

public class Background extends GameElement{
	private ImageIcon bg;
	public Background(){
		setPosX(0);
		setVelX(10);
		bg = new ImageIcon("bg/gamebackgroundTodo.png");
	}
	public ImageIcon getIcon(){
		return bg;
	}
	public void update(){
		setPosX(getPosX() + GamePlay.velocidade);
	}
}
